package com.dyz.service;

import com.dyz.domain.SysRolePrivilege;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyz.model.Result;
import com.dyz.model.RolePrivilegesParam;

/**
 * <p>
 * 角色权限配置 服务类
 * </p>
 *
 * @author dyz
 * @since 2025-04-19
 */
public interface ISysRolePrivilegeService extends IService<SysRolePrivilege> {
    /**
     * 获取角色权限配置列表
     * @param roleId
     * @return
     */
    Result<?> getRolePrivileges(Long roleId);

    /**
     * 修改角色权限配置
     * @param param
     * @return
     */
    Result<?> grantPrivileges(RolePrivilegesParam param);
}
